package com.dragon.logical.service.avttendance;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dragon.repository.entity.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 公告表 服务类
 * </p>
 *
 * @author sy
 * @since 2023-07-26
 */
public interface IAnnouncementService extends IService<Announcement> {

    Page<Announcement> announcementList(Integer page, Integer limit);

    void add(Announcement announcement);

    void delete(Integer id);

    void DisableAnnounce(Integer id);

    Announcement getLatestOne();
}
